package com.lenovo.translatetext.entity;

/**
 * @ProjectName: Translation
 * @Package: com.lenovo.translatetext.entity
 * @ClassName: DetectResult
 * @Description: DetectResult类作用描述
 * @Author: kgzhou
 * @CreateDate: 2019/4/29 16:44
 * @UpdateUser: kgzhou
 * @UpdateDate: 2019/4/29 16:44
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class DetectResult {
    private String pass="";
    private String code="";
    private double confidence=-1;
    private Boolean isReliable=false;
    private String originalText="";
    private String compareText="";

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getOriginalText() {
        return originalText;
    }

    public void setOriginalText(String originalText) {
        this.originalText = originalText;
    }

    public String getCompareText() {
        return compareText;
    }

    public void setCompareText(String compareText) {
        this.compareText = compareText;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public double getConfidence() {
        return confidence;
    }

    public void setConfidence(double confidence) {
        this.confidence = confidence;
    }

    public Boolean getReliable() {
        return isReliable;
    }

    public void setReliable(Boolean reliable) {
        isReliable = reliable;
    }

    @Override
    public String toString() {
        return "DetectResult{" +
                "pass='" + pass + '\'' +
                ", code='" + code + '\'' +
                ", confidence=" + confidence +
                ", isReliable=" + isReliable +
                ", originalText='" + originalText + '\'' +
                ", compareText='" + compareText + '\'' +
                '}';
    }
}
